﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Resources/TPLOAMPage.Master" AutoEventWireup="true"
    CodeBehind="studentprofile.aspx.cs" Inherits="TPLOAWebClient.studentprofile" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navbarPHolder" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Button ID="studentprofileBtn" runat="server" Text="Student Profile" OnClick="studentprofileBtn_Click"
        CssClass="navbtnCSS" CausesValidation="False" />
    <asp:Button ID="viewloaBtn" runat="server" Text="View LOA" OnClick="viewloaBtn_Click"
        CssClass="navbtnCSS" CausesValidation="False" />
    <asp:Button ID="submitloaBtn" runat="server" Text="Submit LOA" OnClick="submitloaBtn_Click"
        CssClass="navbtnCSS" CausesValidation="False" />
    <asp:Button ID="faqBtn" runat="server" Text="FAQ" OnClick="faqBtn_Click" CssClass="navbtnCSS"
        CausesValidation="False" />
    <asp:Button ID="otherservicesBtn" runat="server" Text="Other Services" OnClick="otherservicesBtn_Click"
        CssClass="navbtnCSS" CausesValidation="False" />
    <asp:Button ID="logoutBtn" runat="server" Text="Logout" OnClick="logoutBtn_Click"
        CssClass="navbtnCSS" CausesValidation="False" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="sectionTitlePHolder" runat="server">
    Student Profile
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="mainContentPHolder" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            You can update your contact information here:<table>
                <tr>
                    <td>
                        <strong>Admission No.</strong>
                    </td>
                    <td>
                        <asp:Label ID="adminnoLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Name</strong>
                    </td>
                    <td>
                        <asp:Label ID="nameLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Email</strong>*
                    </td>
                    <td>
                        <asp:TextBox ID="emailTbx" runat="server" MaxLength="30" Rows="8" Style="font-family: Arial"
                            Width="200px"></asp:TextBox>
                            <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" Enabled="True"
                            TargetControlID="emailTbx" FilterType="Custom, Numbers, LowercaseLetters, UppercaseLetters" ValidChars="_-.@" />
                        <ajaxToolkit:TextBoxWatermarkExtender ID="TBWE3" runat="server" TargetControlID="emailTbx"
                            WatermarkCssClass="watermarked" WatermarkText="Type your email here." />
                        <asp:RequiredFieldValidator ID="emailRfv" runat="server" ControlToValidate="emailTbx"
                            ErrorMessage="Please enter your email" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Course Code</strong>
                    </td>
                    <td>
                        <asp:Label ID="coursecodeLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Care Group</strong>
                    </td>
                    <td>
                        <asp:Label ID="caregroupLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Home No.</strong>*
                    </td>
                    <td>
                        <asp:TextBox ID="homenoTbx" runat="server" MaxLength="8" width="200px"></asp:TextBox>
                        <asp:FilteredTextBoxExtender ID="ftbe_tbxUsername" runat="server" Enabled="True"
                            TargetControlID="homenoTbx" FilterType="Numbers" />
                        <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server"
                            TargetControlID="homenoTbx" WatermarkCssClass="watermarked" WatermarkText="Type your home no. here." />
                        <asp:RequiredFieldValidator ID="d0" runat="server" ControlToValidate="homenoTbx"
                            ErrorMessage="Please enter your home no." ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Handphone No.</strong>*
                    </td>
                    <td>
                        <asp:TextBox ID="handphonenoTbx" runat="server" MaxLength="8" Width="200px"></asp:TextBox>
                        <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" Enabled="True"
                            TargetControlID="handphonenoTbx" FilterType="Numbers" />
                        <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server"
                            TargetControlID="handphonenoTbx" WatermarkCssClass="watermarked" WatermarkText="Type your handphone no. here." />
                        <asp:RequiredFieldValidator ID="d1" runat="server" ControlToValidate="handphonenoTbx" ErrorMessage="Please enter your handphone no."
                            ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Classification</strong>
                    </td>
                    <td>
                        <asp:Label ID="classificationLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="updateBtn" runat="server" CssClass="btnCSS" OnClick="updateBtn_Click"
                            Text="Update" />
                        <ajaxToolkit:ConfirmButtonExtender ID="cbe" runat="server" ConfirmText="Confirm update?"
                            OnClientCancel="CancelClick" TargetControlID="updateBtn" />
                        &nbsp;&nbsp;<asp:Label ID="updateLbl" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
